<?php
/**
 * Created by PhpStorm.
 * User: HuangLuSen
 * Date: 2017/5/5
 * Time: 15:34
 */

namespace app\admin\validate;


use think\Validate;

class AuthGroup extends Validate
{
    protected $rule = [
        'title'  =>  'require|token',
        'mark'  =>  'require',
    ];
    protected $message =[
        'title.require'=>'用户组名称不能为空',
        'mark.require'=>'标识名称不能为空',
    ];
    protected $scene = [
        'edit'  =>  ['rules'=>'string'],
    ];
}